export interface Manage {
    id:string;
    name:string;
    color:string;
    type:number;
    source:number;
    createTime?:string | Date;
    rank?:number;
}

export interface Tree {
    id:string;
    index:string;
    risk:string;
    rate:number;
    tree:string;
    groupId:string;
    createTime?:string | Date;
    rank?:number;
}

export interface Group {
    id:string;
    name?:string;
    status?:number;
    createTime?:string | Date;
    rank?:number;
}

export interface Park {
    id:string;
    name?:string;
    status?:0 | 1;//0:已完成 1:进行中
    endTime?:string | Date;//结束时间
    price:number;
    type?:string;
    createTime?:string | Date;
    rank?:number;
}

export interface Notice {
    type:number;//0:通知 1：告警
    title:string;
    content:string;
    createTime?:string | Date;
}

export interface Cost {
    title:string;
    total:number;
    data:number[];
}

export interface CostPie {
    name:string;
    value:number;
    itemStyle:{
        color: string,
    };
}
export interface CostRatio {
    title:string;
    data: CostPie[];
}